<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header">
    <!--<style type="text/css">
        #input1{border:1px solid #0000FF}
        #btn1{width:70px;height:21px;font-size:12px;padding-top:3px;border-left:1px solid #FFFFFF;
            border-top:1px solid #FFFFFF;border-right:1px solid #666666;border-bottom:1px solid #666666}
    </style>-->
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div id="exampleToolbar" role="group">
                   <!-- <div class="form-group col-sm-6">
                        <input id="searchName" type="text" class="form-control"
                               placeholder="姓名">
                    </div>
                    <button class="btn btn-success" onclick="reLoad()">查询</button>
                    <button  type="button" class="btn  btn-primary" onclick="add()">
                        <i class="fa fa-plus hidden" aria-hidden="true"></i>导入学生
                    </button>-->
                    <div style="display: inline;float: left">
                    <form  enctype="multipart/form-data" id="form1" class="form-horizontal m-t" >
                        <div id="file-pretty" style="width: 300px; float: left;">
                            <div class="form-group">
                                <input id="upfile" type="file" name="upfile"
                                       class="form-control" style="margin-left: 30px;height: 40px;">
                            </div>
                        </div>
                        <input type="submit" value="上传" id="btn" name="btn"
                               class="btn  btn-primary" style=" width: 100px;height: 40px;">
                       <!-- <div >
                            <input type="button" id="btn1" onclick="myfile.click();" value="请选择要上传的excel表">
                            <input type="text" id="input1">
                            <input type="file" id="myfile" onchange="input1.value=this.value" style="display:none">
                        </div>-->
                    </form>
                    </div>
                    <div style="display: inline;float:left;margin-top: 14px;margin-left: 10px">
                        <button  type="button" class="btn  btn-primary" onclick="add()" style="height: 41px;">
                            <i class="fa fa-plus hidden" aria-hidden="true"></i>导入学生
                        </button>
                    </div>

                </div>
                <table id="importStudentTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script src="/js/bootstrap-prettyfile.js"></script>
<script type="text/javascript" src="/js/appjs/sys/tempStudent/tempStudent.js"></script>
</body>
</html>